<div class="main" style="width:1024px;float:left">
	<div class="mainbox">
		<div class="content">
			<div class="scrollable">
				<div class="items">
					<div class="centerbox">
						<?php include_partial('ipadProductPage/frame1',
								array(
									'product' => $product,
									'productGroup' => $productGroup,
									'productMainPicture' => $productMainPicture
								)
							)
						?>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="main" style="width:1024px;float:left">
	<div class="mainbox">
		<div class="content">
			<div class="scrollable">
				<div class="items">
					<div class="centerbox">
						<?php include_partial('ipadProductPage/frame2',
								array(
									'product' => $product,
									'defaultParameters' => $defaultParameters['default'],
									'productPalettes' => $productPalettes,
									'productMainPicture' => $productMainPicture
									)
								)
						?>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<?php if(strip_tags($defaultParameters['ingredients'])): // show only if ingredients exist?>
<div class="main" style="width:1024px;float:left">
	<div class="mainbox">
		<div class="content">
			<div class="scrollable">
				<div class="items">
					<div class="centerbox">
						<?php include_partial('ipadProductPage/frame3',array('product' => $product, 'ingredients' => $defaultParameters['ingredients'])) ?>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<?php endif; ?>